#ifndef __MSG_HANDLER_IMP__
#define __MSG_HANDLER_IMP__

#include "Message/MsgHandlerIf.h"


class  TCOM_API MsgHandlerImp : public IMsgHandler
{
public:
	MsgHandlerImp();
	virtual~ MsgHandlerImp();

	virtual bool initialize(IMsgHandlerInitData* data) ;

	virtual bool handleMsg(IMsg* pMsg);

	virtual void addSubHandler(int nMsgCate, int nMsgID, IMsgHandler* pHandler);
	virtual void rmvSubHandler(int nMsgCate, int nMsgID);
};

#endif

